﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/CommonPages/MasterPageFontEnd.master" AutoEventWireup="true" CodeFile="Home.aspx.cs" Inherits="Pages_CommonPages_Home" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="content_left_home">
          <div class="box">
            <h4>New Event</h4>                        
                    <asp:Image ID="imgCompeTop" runat="server" />                    			        			        
                    <div class="box_left_top">
                        <asp:Label ID="lblDate" CssClass="date" DataTextFormatString="{0:dd/MM/yyyy}" runat="server" ></asp:Label>
                        <br />
                        <asp:Label ID="lblName" CssClass="name" runat="server" ></asp:Label>
                        <asp:TextBox ID="txtDescription" runat="server" CssClass="txtDescription" TextMode="MultiLine" ClientIDMode="Static"></asp:TextBox>
                        <asp:HyperLink ID="linkdetailCompetition"  runat="server" ClientIDMode="Static" >Detail competition</asp:HyperLink>
                    </div>
        </div>
        <div class="box">
            <h2>Last Event</h2>                                              			        			                                                
                    <asp:Image ID="imgCompeBottom" runat="server" />                    			        			        
                    <div class="box_left_top">
                        <asp:Label ID="lblDateBottom" CssClass="date" DataTextFormatString="{0:dd/MM/yyyy}" runat="server" ></asp:Label>
                        <br />
                        <asp:Label ID="lblNameBottom" CssClass="name" runat="server" ></asp:Label>
                        <asp:TextBox ID="txtDescriptionBottom" runat="server" CssClass="txtDescription" TextMode="MultiLine" ClientIDMode="Static"></asp:TextBox>
                        <asp:HyperLink ID="linkDetailCompetitionBottom" runat="server" ClientIDMode="Static" >Detail competition</asp:HyperLink>
                    </div>                                    
        </div>              
    </div>        
    <div class="content_center_home">                     
                <h4>Top 8 Image</h4>            
            <div class="dataList">
                
                    <asp:DataList ID="dtListDesign" runat="server" Width="100%" RepeatColumns="3" RepeatDirection="Horizontal" RepeatLayout="Flow">
                        <ItemTemplate>  
                        <div class="item">                      
                            <asp:Image ID="imgDesign" runat="server" ImageUrl='<%# "~/Images/" + Eval("img") %>' />
                            
			                <p href="<%#""%>" class="item_a"><%# Eval("name")%></p>		
                        </div>   	            
                        </ItemTemplate>
                    </asp:DataList>
                                    
            </div>        
    </div>
   <div class="content_right_home">
        <div class="box">
            <h1>Last Added Profile</h1>
                <asp:Image ID="imgDesign" runat="server" />                    			        			        
                    <div class="box_left_top">
                        <asp:Label ID="lblDesignDate" CssClass="date" DataTextFormatString="{0:dd/MM/yyyy}" runat="server" ></asp:Label>
                        <br />
                        <asp:Label ID="lblDesignName" CssClass="name" runat="server" ></asp:Label>
                        <asp:TextBox ID="txtDescriptionDesign" runat="server" CssClass="txtDescription" TextMode="MultiLine" ClientIDMode="Static"></asp:TextBox>
                        <asp:HyperLink ID="linkDesign" runat="server" ClientIDMode="Static" >Detail design</asp:HyperLink>
                    </div>   
        </div>
        <div class="box">
            <h3>Awards</h3>                                                             
                       <asp:DataList ID="dataListAwards" ClientIDMode="Static" runat="server" Width="100%" RepeatColumns="3" RepeatDirection="Horizontal" RepeatLayout="Flow">
                        <ItemTemplate>  
                        <div class="item">                                                                              
			                 <%--<a href='<%# "DetailCompetion.aspx?PID=" + Eval("comId") %>'>
                                <asp:Label ID="Label1" runat="server" Text='<%# Eval("name") %>'></asp:Label>
                            </a>--%>	
                            <p href="<%#""%>" class="item_a"><%# Eval("name")%></p>		
                        </div>   	            
                        </ItemTemplate>
                    </asp:DataList>
        </div>                
   </div>
</asp:Content>

